#include "SetBackgroundColor.h"
using namespace swfstream;
SetBackgroundColor* SetBackgroundColor::from_file(FILE*f) {
	SetBackgroundColor *r = new SetBackgroundColor;
	r->background_color = RGB::from_file(f);
	return r;
}
TiXmlElement* SetBackgroundColor::toTiXmlElement() {
	TiXmlElement *r = new TiXmlElement("SetBackgroundColor");
	TiXmlElement*tmp = new TiXmlElement("backgroundColor");
	tmp->LinkEndChild(background_color->toTiXmlElement());
	r->LinkEndChild(tmp);
	return r;
}
